package om.doudou.dubbo.samples.user.api;

import om.doudou.dubbo.samples.user.po.User;

/**
 * @author admin
 */
public interface UserService {

    boolean register(User user);

    User login(String username, String password);

    User timeoutLogin(String username, String password);

    User getInfo(String username);
}
